Assertions for the Tcl Language
نویسنده
چکیده
Assertions, even as simple as the C assert macro, o er important self-checking properties to programs, and improve the robustness of software when they are used. This paper describes AsserTcl, an assertion package for the Tcl programming language. Our assertions take the form of commands in the program text, and cover point assertions about the computation state, assertions about procedure input values and the return value, and assertions about the values that variables may take on over their whole lifetime. In addition, universal and existential quanti ers are provided for both lists and arrays, not only for individual elements, but for sequences of elements as well.
منابع مشابه
An Embedded Error Recovery and Debugging Mechanism for Scripting Language Extensions
In recent years, scripting languages such as Perl, Python, and Tcl have become popular development tools for the creation of sophisticated application software. One of the most useful features of these languages is their ability to easily interact with compiled languages such as C and C++. Although this mixed language approach has many benefits, one of the greatest drawbacks is the complexity o...
متن کاملA Tcl-based Self-configuring Embedded System Debugger
The Tcl Environment for Extensible Modeling is a software system from Bell Labs for the simulation, hardware emulation and debugging of heterogeneous multiprocessor embedded systems. These embedded systems contain one or more digital signal processors or microcontrollers that execute real-time software written in assembly language and C. Tcl provides an environment in which embedded system desi...
متن کاملCallus Induction and Shoot Regeneration Using Indole Acetic Acid and N-Isopentenylamino Purine Combinations and Two Types of Explant in Tomato
Effects of different concentrations of IAA (0, 0.3, 0.6 mg/l) and 2ip (0, 0.3, 0.6, 0.9, 1.2 mg/l) and their combinations on callus induction and shoot regeneration of hypocotyl and its thin cell layer (TCL) explants in tomato was studied. Explants were prepared from hypocotyls of seedlings in the aseptic condition. Hypocotyl segments were more efficient than TCL explants for callus induction a...
متن کاملAutomatic Generation of Tcl Bindings for C and C++ Libraries
In the past few years Tcl has found widespread interest as a extensible scripting language. Numerous Tcl interfaces for a variety of C libraries have been created. While most of these language bindings have been created by hand, others have made use of dedicated code generators designed for the specific library. In this paper we present a tool for the automatic generation of Tcl language bindin...
متن کاملJacl: A Tcl Implementation in Java
Jacl, Java Command Language, is a version of the Tcl [1] scripting language for the Java [2] environment. Jacl is designed to be a universal scripting language for Java: the Jacl interpreter is written completely in Java and can run on any Java Virtual Machine. Jacl can be used to create Web content or to control Java applications. This paper explains the need for Jacl as a scripting language f...
متن کامل